import { Informationd } from 'information-details-model.js';

var informationd = new Informationd();
Page({
	data: {

	},
  onShareAppMessage: function (res) {
    console.log(res)
    if (res.from === 'button') {
      // 来自页面内转发按钮
      console.log(res.target)
    }
    return {
      title: '自定义转发标题',
      path: '/page/user?id=123',
      success: function (res) {
        console.log("转发成功") 
      },
      fail: function (res) {
        console.log("转发失败") // 转发失败
      }
    }
  }
})